From 6603c470e75533c8fb1975d3286ab11edd06ba56 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 23 Aug 2005 17:54:38 +0000 Subject: [PATCH] Fix non-hotplug i386 build. Spotted by Rik van Riel. --- linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c index 14ae68f3c9..cb6526d4ac 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c @@ -149,12 +149,12 @@ void cpu_idle (void) if (cpu_is_offline(cpu)) { local_irq_disable(); +#if defined(CONFIG_XEN) && defined(CONFIG_HOTPLUG_CPU) /* Ack it. From this point on until we get woken up, we're not allowed to take any locks. In particular, don't printk. */ __get_cpu_var(cpu_state) = CPU_DEAD; -#if defined(CONFIG_XEN) && defined(CONFIG_HOTPLUG_CPU) /* Tell hypervisor to take vcpu down. */ HYPERVISOR_vcpu_down(cpu); #endif -- 2.30.2